<?php
// +----------------------------------------------------------------------
// | WoShiMaiJia Projcet 
// +----------------------------------------------------------------------
// | Copyright (c) 2010-2011 http://woshimaijia.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: xinqiyang <xinqiyang@gmail.com>
// +----------------------------------------------------------------------
return array(

    
    'mysql'=>array(
    //db configuration
    'mysql'=>array(
	    'dbms' => 'mysql',
	    'username' => 'root',
	    'password' => '123456',
	    'hostname' => '127.0.0.1',
	    'hostport' => '3306',
	    'database' => 'wsmj',
	    'db_prefix' => 'sz_',
	    'fields_cache'=>false, //if set false then no flush table info
	    'fields_cache_path'=>'/home/xinqiyang/wwwlogs/tools',//  
		'use_slaves'=>TRUE, //use slaves  true/false
	    'slaves' => array(
	        array('username' => 'root',
	            'password' => '123456',
	            'hostname' => '127.0.0.1',
	            'hostport' => '3306'),
	        array('username' => 'root',
	            'password' => '123456',
	            'hostname' => '127.0.0.1',
	            'hostport' => '3306'),
	        array('username' => 'root',
	            'password' => '123456',
	            'hostname' => '127.0.0.1',
	            'hostport' => '3306'),
	        array('username' => 'root',
	            'password' => '123456',
	            'hostname' => '127.0.0.1',
	            'hostport' => '3306'),
	    	)
    	),

    ),
  
    
    
);
